function Person(firstName, lastName) {
  this.firstName = firstName;
  this.lastName = lastName;
}

const member = new Person("Lydia", "Hallie");

Person.prototype.getFullName = function () {
    return this.firstName + this.lastName
};

console.log(member.getFullName());

const p2 = new Person('1', '2')

console.log(p2.getFullName());

